<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/3/30
  Time: 22:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  errorPage="error.jsp"  %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String value = application.getInitParameter("testParaml");
    System.out.println("全局信息:"+value);

    String value2 = application.getInitParameter("testParam2");
    System.out.println("全局信息:"+value2);


    String realPath = application.getRealPath("/");
    System.out.println(realPath);


%>
<form action="session2.jsp" method="post">
    <input type="text" name="test" value="张"/>
    <input type="submit" value="s"/>
</form>
</body>
</html>
